package com.findfuture.demo.service;

import com.findfuture.demo.model.Albums;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Alex
 * Date: 11-12-14
 * Time: 下午9:16
 * To change this template use File | Settings | File Templates.
 */
public interface IAlbumService {
    public List<Albums> getAlbumsList() throws Exception;

    public void addAlbum(Albums album) throws Exception;

    public Albums getAlbumsById(int id ) throws Exception;
    
    public void updateAlbumName(int id , String name) throws Exception;
    void deleteAlbum(int id) throws Exception;
}
